<extend name="Base/common"/>
<block name="body">  
        <section class="container">
            <div class="content-wrap">
                <div class="content">
                    <div class="title">
                        <!--h3 style="line-height: 1.3">MZ-NetBlog主题</h3-->
                    </div>
                    <volist name='list' id='data'>    
                    <article class="excerpt excerpt-1">
                        <header>
                        <h2>
                         <if condition="$data['count'] gt 1">

                            <a href="{:url_route('detail/'.$data['pin_yin'].'&'.'id'.'='.$data['id'].'&nav='.$da['nav'])}" title="" target="_blank">{$data.title}</a>
                            <else/>
                            <a href="{:url_route('detail/'.$data['pin_yin'].'&nav='.$da['nav'])}" title="{$data.title}" target="_blank">{$data['title']}</a>
                            </if>
                         </h2>  
                                
                        </header>
                        <p class="meta">
                            <time class="time">
                                <i class="glyphicon glyphicon-time"></i>{$data.create_time|date="Y-m-d",###}</time>
                            <span class="views">
                                <i class="glyphicon glyphicon-eye-open"></i> {$data.view}</span>
                                <if  condition="0">
                            <!--a class="comment" href="##comment" title="评论" target="_blank">
                                <i class="glyphicon glyphicon-comment"></i>4</a-->
                                </if>
                        </p>
                        <p class="note">
                        {:substr_replace($data['description'],'...',370,strlen($data['description']))}
                        </p>
                    </article>
                    </volist>
                    
                    <!--nav class="pagination" style="display: none;"-->
                    <nav>
                        {$pageStr}
                    </nav>
                </div>
            </div>

           <aside class="sidebar">

            <div class="widget widget_sentence">
              <h3>分类</h3>
              <div class="tag-cloud">
                <volist name="category"  id="data">
                   <a href="{$key}">{$data}</a> 
                </volist>
               </div>
            </div>
            <div class="widget widget_sentence">
            <a href="{$articleRight['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$articleRight['img']}" alt=""></a>
        </div>
            <div class="fixed">
            <div class="widget widget_sentence">
              <h3>标签云</h3>
              <div class="tag-cloud">
              
                <volist name="tags"  id="data">
                <if condition="$data['tag_name'] neq ''">
                   <a href="{$data['name']}&flag=1">{$data['tag_name']}</a> 
                   </if>
                </volist>
               </div>
            </div>
      </aside>
        </section>
</block>